package com.ruoyi.food.mapper;

import java.util.List;
import com.ruoyi.food.domain.WarehouseEntry;

/**
 * 粮食入库Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-13
 */
public interface WarehouseEntryMapper 
{
    /**
     * 查询粮食入库
     * 
     * @param id 粮食入库主键
     * @return 粮食入库
     */
    public WarehouseEntry selectWarehouseEntryById(Long id);

    /**
     * 查询粮食入库列表
     * 
     * @param warehouseEntry 粮食入库
     * @return 粮食入库集合
     */
    public List<WarehouseEntry> selectWarehouseEntryList(WarehouseEntry warehouseEntry);

    /**
     * 新增粮食入库
     * 
     * @param warehouseEntry 粮食入库
     * @return 结果
     */
    public int insertWarehouseEntry(WarehouseEntry warehouseEntry);

    /**
     * 修改粮食入库
     * 
     * @param warehouseEntry 粮食入库
     * @return 结果
     */
    public int updateWarehouseEntry(WarehouseEntry warehouseEntry);

    /**
     * 删除粮食入库
     * 
     * @param id 粮食入库主键
     * @return 结果
     */
    public int deleteWarehouseEntryById(Long id);

    /**
     * 批量删除粮食入库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseEntryByIds(Long[] ids);
}
